查询 Royalty 对象

通过 royalty 对象的 id 更新一个已创建的 royalty 对象的信息。

请求参数描述
ROYALTY_ID string requiredroyalty 对象的 id,该参数仅需要填写在请求地址内。

返回

返回一个 royalty 对象,或者返回一个错误,详见 错误

定义

GET https://api.pingxx.com/v1/royalties/{ROYALTY_ID}
待补充
待补充
待补充
待补充
待补充
待补充
待补充

请求示例

curl https://api.pingxx.com/v1/royalties/{ROYALTY_ID} \
-H "Pingplusplus-Request-Timestamp: 1475029155" \
-H "Pingplusplus-Signature: SIGNATURE" \
-u sk_test_ibbTe5jLGCi5rzfH4OqPW9KC:
待补充
待补充
待补充
待补充
待补充
待补充
待补充

返回示例

{
    "id": "170301124238000111",
    "object": "royalty",
    "payer_app": "app_1Gqj58ynP0mHeX1q",
    "amount": -1,
    "created": 1488343358,
    "description": "Your description",
    "livemode": true,
    "metadata": {},
    "method": null,
    "recipient_app": null,
    "royalty_transaction": null,
    "royalty_settlement": null,
    "source_app": "app_1Gqj58ynP0mHeX1q",
    "source_no": "12345678",
    "source_url": "/v1/orders/2011609010000025991",
    "source_user": "user_001",
    "status": "created",
    "settle_account": null,
    "time_settled": null
}